import { httpPost, httpGet } from '@/utils/http'

/**
 * 支付
 */
export const pay = (data) => {
  console.log('api/user -> pay =>' + JSON.stringify(data))
  return httpPost({
    url: 'http://customer.yymcd.com/c/create',
    data
  })
}

// import {httpGet, httpPost2} from '../utils/http'
//
// //======扫描支付======
// export const payF = (params = {}) => httpPost2({url: '/c/create', params})
//
// //获取二维码列表
// export const codePageF = (params = {}) => httpGet({url: '/app/code/page', params})
